package com.gaff.emp.core.modules.perm.controller.role.form;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class UpdateForm {

    @NotNull(message = "角色ID不能为空")
    private Integer id;

    @NotBlank(message = "角色名称不能为空")
    private String roleName;

    private String roleDesc;

    private String note;

    private List<Integer> menuIds;

}
